package com.cps.frameauth.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * token相关返回码
 *
 */
@Getter
@AllArgsConstructor
public enum TokenCodeEnum {
  AUTH_TOKEN_EMPTY(-200, "未获取到token"),
  AUTH_FAILED(-200, "无权限"),
  AUTH_TIME_OUT(-200, "token已过期"),
  AUTH_TOKEN_ILLEGAL(-200, "Token不合法");

  public int code;

  public String message;
}
